.banner {
  width: 100vw;
  height: 42.66667vw;
  img {
    width: 100vw;
    height: inherit;
  }
}

// body {
//   // 安全区域 env(safe-area-inset-bottom)固定写法，从苏宁拿
//  padding-bottom: calc(14.66667vw + env(safe-area-inset-bottom) );
// }
.activity-item-header {
  height: 10.66667vw;
  display: flex;
  align-items: center;
  background-color: khaki;
}
.activity-item {
  height: 67.73333vw;
  position: relative;
  .activity-item-img {
    width: 100vw;
    height: 42.66667vw;
  }
  .activity-item-detail {
    display: flex;
    padding: 2.13333vw 4vw;
    background-color: paleturquoise;
    > h3 {
      flex: 1;
      display: flex;
      align-items: center;
      font-weight: bold;
      font-size: 4vw;
      background-color: pink;
    }
    span {
      color: orange;
      margin-left: 5.33333vw;
    }
    h3,
    span {
      font-size: 4vw;
    }
  }
  .activity-item-info {
    display: flex;
    align-items: center;
    // background-color: purple;
    border-bottom: 0.26667vw solid #ccc;
    span {
      margin-left: 8vw;
      font-size: 2.93333vw;
      color: #ffb4b4b4;
      padding: 2.66667vw 0;
    }
  }
  .state {
    z-index: 1;
    position: absolute;
    top: -1.33333vw;
    left: 4vw;
    width: 18.13333vw;
    line-height: 7.73333vw;
    font-size: 3.2vw;
    color: white;
    background: url(../images/status_active.png) no-repeat;
    background-size: 100% auto;
    text-align: center;
  }
  .cover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 254px;
    background-color: rgba(0, 0, 0, 0.3);
  }
  &:active .cover {
    opacity: 1;
  }
}
.hobbies {
  position: relative;
  margin-top: 2.66667vw;
}

.tabbar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  height: 13.33333vw;
  width: 100%;
  background-color: #feca49;
  a {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: #d78b09;
    font-size: 2.93333vw;
    &:active {
      color: white;
    }
  }
  i {
    font-size: 5.86667vw;
    margin-top: 1.33333vw;
  }
}
